(function() {
  var express, router;

  express = require('express');

  router = express.Router();

  module.exports = router;

  router.get('/', function(req, res, next) {
    return res.render('reports/index', {
      records: []
    });
  });

  router.get('/new', function(req, res, next) {
    return res.render('reports/new');
  });

  router.post('/new', function(req, res, next) {
    return res.redirect('/reports');
  });

}).call(this);
